<template>
  <div>
    <el-container>
      <el-main>
        <el-container class="parent-body">
          <el-header class="content-header">
            <div>对账单信息</div>
            <div>
              <el-button icon="el-icon-arrow-left" @click.native="returnButton">返回</el-button>
            </div>
          </el-header>
          <el-main class="info-main">
            <div  class="div-style"><i class="el-icon-collection-tag"></i>订单信息</div>
            <el-row type="flex" class="row-bg">
              <el-col :span="4"><div class="grid-content bg-purple bg-color">订单编号</div></el-col>
              <el-col :span="20"><div class="grid-content bg-purple" v-text="serviceNumber"></div></el-col>
            </el-row>
            <el-row type="flex" class="row-bg">
              <el-col :span="4"><div class="grid-content bg-purple bg-color">订单金额</div></el-col>
              <el-col :span="20"><div class="grid-content bg-purple" v-text="applicationStatu"></div></el-col>
            </el-row>
            <el-row type="flex" class="row-bg">
              <el-col :span="4"><div class="grid-content bg-purple bg-color">支付方式</div></el-col>
              <el-col :span="20"><div class="grid-content bg-purple"><span v-text="orderNum"></span></div></el-col>
            </el-row>
            <el-row type="flex" class="row-bg">
              <el-col :span="4"><div class="grid-content bg-purple bg-color">支付时间</div></el-col>
              <el-col :span="20"><div class="grid-content bg-purple" v-text="applyTime"></div></el-col>
            </el-row>
            <el-row type="flex" class="row-bg">
              <el-col :span="4"><div class="grid-content bg-purple bg-color">订单状态</div></el-col>
              <el-col :span="20"><div class="grid-content bg-purple" v-text="userAccount"></div></el-col>
            </el-row>
          </el-main>
          <el-footer class="info-main" style="height:100%;padding-bottom:30px;">
            <div class="div-style"><i class="el-icon-collection-tag"></i>对账信息</div>
            <el-row type="flex" class="row-bg">
              <el-col :span="4"><div class="grid-content bg-purple bg-color">对账状态</div></el-col>
              <el-col :span="20"><div class="grid-content bg-purple" v-text="money"></div></el-col>
            </el-row>
          </el-footer>
        </el-container>
      </el-main>
    </el-container>
  </div>
</template>

<script>
    export default {
        data() {
            return {
                serviceNumber:"201807196398345",
                applicationStatu:"¥19198.00",
                orderNum:"支付宝",
                applyTime:"2018-07-19 14:48:38",
                userAccount:"已完成",
                money:"已对账",
            }
        },
        methods:{
            returnButton(){
                this.$router.replace({ path: "/finance/reconciliationList" });
            },
        }
    }
</script>

<style scoped>
  .common-home{
    background-color:#F3F3F3;
  }
  .common-home,.content-header{
    border-bottom:1px solid #E4E4E4;
    position: relative;
  }
  .common-home>div{
    display: inline-block;
    width:100px;
    height:50px;
    vertical-align: top;
    line-height: 50px;
    color:#666666;
  }
  .common-home>.refresh{
    position: absolute;
    right:10px;
  }
  .common-home>div>span{
    border:4px solid #0399FE;
    display: inline-block;
    width: 0px;
    height: 15px;
    vertical-align: middle;
    margin-right: 5px;
    background-color: #0399FE;
  }
  .parent-body{
    border:1px solid #E4E4E4;
  }
  .content-header{
    height:50px;
    line-height: 50px;
    background-color:#F3F3F3;
    color:#666666;
  }
  .bg-purple {
    border:1px solid #E4E4E4;
  }
  .bg-color{
    background-color:#F9FAFC;
  }
  .grid-content {
    min-height: 36px;
    line-height: 36px;
    text-align: left;
    font-size:14px;
    padding-left:50px;
    color:#666666;
  }
  .info-main{
    background-color:#fff;
  }
  .el-row{
    margin-bottom:0 !important;
  }
  .el-col{
    height:auto !important;
  }
  .div-style {
    margin:20px 0;
    color:#000;
    opacity: 0.8;
  }
</style>